export enum ActionType {
    Init = "init",
    Update = "update",
}


export class Msg {
    action: ActionType;
    data: any;
    constructor(action: ActionType, data: any) {
        this.action = action;
        this.data = data;
    }
}